package com.hm.day1212;

import java.util.Map;
import java.util.Set;

import org.springframework.beans.factory.annotation.Value;

public class Server {

	
	@Value("#{server}")
	private Set<Object> servers;
	@Value("#{table}")
	private Map<Object,Object> tables;
	
	
	public Map<Object, Object> getTables() {
		return tables;
	}
	public void setTables(Map<Object, Object> tables) {
		this.tables = tables;
	}
	public Set<Object> getServers() {
		return servers;
	}
	public void setServers(Set<Object> servers) {
		this.servers = servers;
	}
	@Override
	public String toString() {
		return "Server [servers=" + servers + ", tables=" + tables + "]";
	}
	
}
